package com.gxa.meiye.admin.mapper;

import com.gxa.meiye.core.pojo.domain.OrderInfo;
import com.gxa.meiye.core.pojo.domain.OrderdetailedInfo;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author cc
 * @PackageName meiye
 * @Package com.gxa.meiye.admin.mapper
 * @Date 2022/7/27 14:26
 * @Version 1.0
 */
public interface OrdersMapper {
    List<OrderInfo> queryOrderByTherapistId(@Param("id") Integer id, @Param("status") Integer status);

    Integer updateStatusById(@Param("id") Integer id,@Param("status") Integer status);

    String getConsumerPhone(@Param("id") Integer id);

    List<OrderInfo> queryOrderInTherapist(@Param("id") Integer id);

    OrderdetailedInfo queryOrderInfo(@Param("id") Integer id);
}
